home *** CD-ROM | disk | FTP | other *** search
- Path: news.cis.nctu.edu.tw!usenet
- From: terryt@mcs.com (Terry Trippany)
- Newsgroups: comp.lang.c++
- Subject: Re: Why C++/G++/?++
- Date: 24 Jan 1996 17:50:57 GMT
- Organization: STR/Baxter Labs
- Message-ID: <4e5ri2$78h@news.cis.nctu.edu.tw>
- References: <DLFosu.F6s@Federal.Unisys.COM>
- NNTP-Posting-Host: @159.198.73.111
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- X-Newsreader: WinVN 0.99.7
-
- In article <DLFosu.F6s@Federal.Unisys.COM>, fergusoc says...
- >
- >I am not trying to start a flame war so please don't but I must
- wonder outloud
- >why one would choose C++ over something like Ada95? It sure as heck
- isn't
- >because C++ is more mature. Hell, its changing (or has done so
- historically)
- >at Stroustroupe's whim.
-
- While C++ may not be more mature it has many advantages over ADA.
- First off we have a greater selection of compilers. If I remember
- right the first ADA compilers cost many many thousands of dollars.
-
- While having never worked with ADA95 I have worked with ADA83 and
- speed is not one of it's strong points. Nor was executable size.
-
- Commercially ADA is at best minimal. Outside of the military I
- don't see many people asking for ADA developers.
-
- I also think ADA is lacking in the graphics department as well.
-
- C/C++ is taught in most CS departments at the University level.
-
- Huge wealth of resources and information in C/C++.
-
- >Why are concurrent operations not a part of the language? Why
- aren't exceptions
- >automatically raised? Why are the only encpsulation mechanisms
- Classes
- >and files? In the long run, what does multiple inheritance being a
- formally
- >defined part of the language buy you?
- >In Ada95 (and Ada83) concurrency is a standard part of the language
- and must
- >be in every compiler. Exceptions are automatically raised and
- propigated
- >outward until an exception handler is found or the OS is reached
- (at which time
- >the application aborts). In addition to classes and files, Ada95
- has the
- >encapsulation mechanisms of Packages, generics, and tasks to more
- accurately
- >model your application needs. Ada does not support multiple
- inheritance
- >directly within the core language, but one may extend (through
- packages and
- >such) to get that feature (A feature which more folks are realizing
- >may be more trouble than it is worth - IMHO).
-
- I see concurrency as an OS issue, why bog down the compiler. The
- exception handling in C++ is sufficient. I have templates and such
- as well, and no one forces me to use multiple inheritance. If I do
- use it incorrectly then I am at fault! In fact the learning curve
- on ADA is huge compared to C++ which is already high.
- ...
- ...
- ...
-
- Get my point?
-
- I have liked ADA when I have used it, it's just that C++ is my
- preferred language.
-
- Terry Trippany
- Strategic Technology Resources
- Chicago, IL
-
-